Quantization of LC oscillator